<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class ShopHistory extends Model
{
    protected $table = 'shop_history';

    protected $guarded = [];

    public function commodity()
    {
        return $this->hasOne(Commodity::class,'id','commodity_id');
    }


}
